import{post } from '../http'

//查询航班
export const GetTrFlight=({
  trfFnum,PageIndexs,PageSizes
})=>{
  return post('/FTKJWLHYPT/Plan/GetTrFlight',{
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          trfFnum
        }
      },
      Orderbys: {},
      PageIndexs: {
        FTKJWLHYPT: PageIndexs
      },
      PageSizes: {
        FTKJWLHYPT: PageSizes
      }
    }
  })
}


//空运信息同步
export const GetTrFightMessage=({trfCasenum,PageIndexs,PageSizes})=>{
  return post('/FTKJWLHYPT/Plan/GetTrFightMessage',{
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          trfCasenum
        }
      },
      Orderbys: {},
      PageIndexs: {
        FTKJWLHYPT: PageIndexs
      },
      PageSizes: {
        FTKJWLHYPT: PageSizes
      }
    }
  })
}
